Objects are designed to insert a specific string of code into the user's document. An object appears in a panel on the Object palette and in the Insert menu once its object file is stored in a subfolder within the Configuration/Objects folder inside the Dreamweaver application folder.
Objects have two components: the object file that defines what is inserted in your document; and the 18-pixel by 18-pixel GIF image that appears in the Object palette.
Objects are HTML files. The BODY
of an object file can contain an HTML form that accepts parameters for the object (for example, the number of rows and columns in the table to be inserted). The HEAD
of an object file contains JavaScript functions that process form input from the BODY
and control what is added to the user's document.
Note: The simplest objects contain only the HTML to be inserted, with no BODY
and HEAD
tag. See "Customizing Dreamweaver" in Using Dreamweaver for more information.